<div class="report-container">
	<div class="report-header">
		<table>
			<tr>
				<td class="logo"><img src="http://diastole/diastole/media/img/content/ministerio_nacion.jpg"></img></td>
				<td class="report-title"><h1>SERVICIO UNIVERSITARIO DE SALUD</h1></td>
				<td class="logo"><img src="http://diastole/diastole/media/img/content/unmdp.jpg"></img></td>
			</tr>
		</table>
	</div>
		
	<div class="report-content">
		<table class="report-data">
			<tr>
				<th>Edad</th>
				<th>Peso</th>
				<th>PS</th>
				<th>PD</th>
				<th>Fuma</th>
			</tr>
			<tr>
				<td><?php echo $patient["age"];?></td>
				<td><?php echo $patient["weight"];?> kg</td>
				<td><?php echo $patient["ps"];?> mmHG</td>
				<td><?php echo $patient["pd"];?> mmHG</td>
				<td><?php echo $patient["smokes"];?></td>
			</tr>
		</table>
	</div>
		
	<div class="report-content">
		<table class="report-data">
			<tr>
				<th>Amplitud OD [%]</th>
				<th>Aumentacion [%]</th>
				<th>Ancho 50% OS [ms]</th>
				<th>Masa Corporal</th>
				<th>Frecuencia cardiaca [ppm]</th>
			</tr>
			<tr>
				<td><?php echo $parameter_values['aod'];?></td>
				<td><?php echo $parameter_values['iar'];?></td>
				<td><?php echo $parameter_values['aos'];?></td>
				<td><?php echo $parameter_values['imc'];?></td>
				<td><?php echo $parameter_values['fc'];?></td>
			</tr>
		</table>
	</div>
		
	<div class="report-content">
		<table class="report-chart">
			<tr>
				<td><h2>REGISTRO DE VARIACION DE DIAMETRO ARTERIAL</h2></td>
				<td><img height="200px" width="400px;"src="<?php echo $segment_image_url;?>" alt="Cargando..." style="margin-left:1em; margin-top:1em;"></img></td>
			</tr>
		</table>
	</div>
	
	<div class="report-content">
		<h2>Paciente: <?php echo $patient["fullname"];?></h2><!-- $patient_name -->
		<h3>Medico: <?php echo $medic;?></h3><!-- $medic_name -->
		
		<h4><b>Comentarios:</b></h4>
		<!-- $Comments -->
		<p><?php echo $comments;?></p>
		
		<h4><b>Indices:</b></h4>
		<p>
			<span  style="display:none;"> <!-- Dejar de cablear el N y la década -->
				(Características ideales: Amplitud OD máxima, IAR mínimo, Ancho OS mínimo): Valores para la <?php //echo $decade;?>ª
	década (Promedio ± Int. Confianza), N = 63
			</span>
			<span class="indexes_item"><?php echo $indexes['iar'];?></span><!-- $iar_index -->
			<span class="indexes_item"><?php echo $indexes['aos'];?></span><!-- $aos_index -->
			<span class="indexes_item"><?php echo $indexes['aod'];?></span><!-- $aod_index -->
		</p>
		
		<h4><b>Antecedentes:</b></h4>
		<p>
			
			<span class="family_member"><?php echo $background_family;?></span>
			<span class="family_member"><?php echo $background_medicines;?></span>
			<span class="family_member"><?php echo $background_pathologies;?></span>
			<span class="family_member"><?php echo $background_surgeries;?></span>
			<!--  Antecendentes Familiares: Madre presenta antecedentes cardíacos, presenta antecedentes de
	coresterol. Padre presenta antecedentes de hipertensión-->
		</p>
		
		<h4><b>Conclusiones:</b></h4>
		<p> <?php echo $conclusion; ?>	</p>
	</div>
</div>